import generateMap from "@/constant/generateMap";

/**
 * @description 积分变更类型
 */
export enum PointChangeType {
  /**
   * @description 加分
   */
  INC,

  /**
   * @description 扣分
   */
  DEC,
}

/**
 * @description 积分批量修改执行状态
 */
export enum MultipleRecordStatus {
  /**
   * @description
   */
  Executed,

  /**
   * @description
   */
  Withdrawn,
}

export const MultipleChangeStatus = generateMap({
  EXECUTED: {
    label: "已执行",
    value: 0,
  },
  WITHDRAWM: {
    label: "已撤回",
    value: 1,
  },
} as const);
